package com.winhxd.b2c.common.domain.order.vo;

import com.winhxd.b2c.common.domain.order.enums.OrderFlowStatusEnum;
import com.winhxd.b2c.common.domain.order.model.OrderProductAttribute;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.aspectj.weaver.ast.Or;
import org.springframework.core.annotation.Order;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author zhangshuguang
 * @version 1.0
 * @date 2019/1/8、16:29
 * @Description 用户订单列表
 */
@Data
public class OrderListItemForCustomerVO {
    @ApiModelProperty(value = "skuId")
    private Long skuId;
    @ApiModelProperty(value = "商品图片URL", required = true)
    private String skuUrl;
    @ApiModelProperty("spu名称")
    private String spuName;
    @ApiModelProperty(value = "商品数量")
    private int number;
    @ApiModelProperty(value = "市场价")
    private BigDecimal marketPrice;
    @ApiModelProperty(value = "折算价")
    private BigDecimal conversionPrice;
    @ApiModelProperty(value = "结算价")
    private BigDecimal otherTotal;
    @ApiModelProperty(value = "状态1 有效 2无效")
    private int status;
    @ApiModelProperty(value = "售后类型 0 正常 1 待发货退款 2 待发货取消退款 3 待收货换货 4 待收货取消换货 5 待收货退款 6 待收货取消退款 7 待收货退款退货 8 待收货取消退款退货 9  已完成退款 10 已完成取消退款 11  已完成换货 12 已完成取消换货 13 已完成退款退货 14 已完成取消退款退货")
    private Integer flowStatus;
    @ApiModelProperty(value = "商品流转状态描述")
    private String flowStatusDesc;

    @ApiModelProperty("商品属性尺码和颜色2条数据")
    private List<OrderProductAttribute> attributes;

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public String getSkuUrl() {
        return skuUrl;
    }

    public void setSkuUrl(String skuUrl) {
        this.skuUrl = skuUrl;
    }

    public String getSpuName() {
        return spuName;
    }

    public void setSpuName(String spuName) {
        this.spuName = spuName;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public BigDecimal getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(BigDecimal marketPrice) {
        this.marketPrice = marketPrice;
    }

    public BigDecimal getConversionPrice() {
        return conversionPrice;
    }

    public void setConversionPrice(BigDecimal conversionPrice) {
        this.conversionPrice = conversionPrice;
    }

    public BigDecimal getOtherTotal() {
        return otherTotal;
    }

    public void setOtherTotal(BigDecimal otherTotal) {
        this.otherTotal = otherTotal;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Integer getFlowStatus() {
        return flowStatus;
    }

    public void setFlowStatus(Integer flowStatus) {
        this.flowStatus = flowStatus;
    }

    public String getFlowStatusDesc() {
        return flowStatusDesc;
    }
    public void setFlowStatusDesc(String flowStatusDesc) {
        this.flowStatusDesc = flowStatusDesc;
    }

    public List<OrderProductAttribute> getAttributes() {
        return attributes;
    }

    public void setAttributes(List<OrderProductAttribute> attributes) {
        this.attributes = attributes;
    }
}
